package com.sh4.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * XgfsBook entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "xgfs_book", catalog = "wsm")

public class XgfsBook implements java.io.Serializable {

	// Fields

	private String id;
	private String bookMobile;
	private String bookAddress;
	private String bookType;
	private String bookStatus;
	private Float bookArea;
	private String openId;
	private String remark;
	private String attribute1;
	private String attribute2;
	private Date createDate;
	private Date updateDate;
	private String updateBy;

	// Constructors

	/** default constructor */
	public XgfsBook() {
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID_", unique = true, nullable = false, length = 64)

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "BOOK_MOBILE_", length = 64)

	public String getBookMobile() {
		return this.bookMobile;
	}

	public void setBookMobile(String bookMobile) {
		this.bookMobile = bookMobile;
	}

	@Column(name = "BOOK_ADDRESS_")

	public String getBookAddress() {
		return this.bookAddress;
	}

	public void setBookAddress(String bookAddress) {
		this.bookAddress = bookAddress;
	}

	@Column(name = "BOOK_TYPE_", length = 64)

	public String getBookType() {
		return this.bookType;
	}

	public void setBookType(String bookType) {
		this.bookType = bookType;
	}

	@Column(name = "BOOK_STATUS_", length = 64)

	public String getBookStatus() {
		return this.bookStatus;
	}

	public void setBookStatus(String bookStatus) {
		this.bookStatus = bookStatus;
	}

	@Column(name = "BOOK_AREA_", precision = 64)

	public Float getBookArea() {
		return this.bookArea;
	}

	public void setBookArea(Float bookArea) {
		this.bookArea = bookArea;
	}

	@Column(name = "OPEN_ID_", length = 64)

	public String getOpenId() {
		return this.openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	@Column(name = "REMARK_")

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "ATTRIBUTE1_")

	public String getAttribute1() {
		return this.attribute1;
	}

	public void setAttribute1(String attribute1) {
		this.attribute1 = attribute1;
	}

	@Column(name = "ATTRIBUTE2_")

	public String getAttribute2() {
		return this.attribute2;
	}

	public void setAttribute2(String attribute2) {
		this.attribute2 = attribute2;
	}

	@Column(name = "CREATE_DATE_", length = 19)

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Column(name = "UPDATE_DATE_", length = 19)

	public Date getUpdateDate() {
		return this.updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	@Column(name = "UPDATE_BY_", length = 64)

	public String getUpdateBy() {
		return this.updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

}